import request from "@/utils/request";

// 上传通用接口
export const uploadService = (data) => {
  return request.post("/admin/upload", data);
};

// 删除通用接口
export const uploadDeleteFileService = (userId, params) => {
  return request.delete(`/admin/delete/file/${userId}`, { params });
};
